/*
 * @Author: your name
 * @Date: 2021-04-06 16:07:38
 * @LastEditTime: 2021-04-07 08:43:17
 * @LastEditors: Please set LastEditors
 * @Description: 仅用于记录地图中的内容（箱子、玩家、墙、空白）
 * @FilePath: \推箱子\module\map.js
 */
export const SPACE = 0;
export const PLAYER = 1;
export const WALL = 2;
export const BOX = 3;
/* 
    0.空白
    1.玩家
    2，墙
    3.箱子 
*/
export const content = [
    [0, 0, 2, 2, 2, 2, 2, 0, 0],
    [0, 0, 2, 0, 1, 0, 2, 0, 0],
    [0, 0, 2, 0, 3, 0, 2, 0, 0],
    [2, 2, 2, 0, 0, 0, 2, 2, 2],
    [2, 0, 0, 0, 3, 0, 0, 0, 2],
    [2, 0, 3, 3, 3, 3, 3, 0, 2],
    [2, 0, 0, 0, 3, 0, 0, 0, 2],
    [2, 2, 2, 3, 3, 3, 2, 2, 2],
    [0, 0, 2, 0, 0, 0, 2, 0, 0],
    [0, 0, 2, 0, 3, 0, 2, 0, 0],
    [0, 0, 2, 0, 0, 0, 2, 0, 0],
    [0, 0, 2, 2, 2, 2, 2, 0, 0],
]

export const correct = [{
    row: 3,
    col: 4
}, {
    row: 4,
    col: 4
}, {
    row: 5,
    col: 2
}, {
    row: 5,
    col: 3
}, {
    row: 5,
    col: 4
}, {
    row: 5,
    col: 5
}, {
    row: 5,
    col: 6
}, {
    row: 6,
    col: 4
}, {
    row: 7,
    col: 4
}, {
    row: 8,
    col: 4
}, {
    row: 9,
    col: 4
}, {
    row: 10,
    col: 4
}]

export const colNumber = content[0].length;
export const rowNumber = content.length;